package com.suyang.syt.model.dto;

import com.suyang.syt.model.Message;
@SuppressWarnings(value = "serial")
public class MessageDTO extends Message {

	private String groupName;
	/***消息状态是否已读*/
	private int checkStatus;

	public MessageDTO() {

	}

	public MessageDTO(Message message) {
		this.setId(message.getId());
		this.setTiming(message.getTiming());
		this.setContent(message.getContent());
		this.setGroupId(message.getGroupId());
		this.setCreateName(message.getCreateName());
		this.setCreateTime(message.getCreateTime());
		this.setIsTime(message.getIsTime());
		this.setName(message.getName());
		this.setStatus(message.getStatus());
	}
    
	public int getCheckStatus() {
		return checkStatus;
	}

	public void setCheckStatus(int checkStatus) {
		this.checkStatus = checkStatus;
	}

	public String getGroupName() {
		return groupName;
	}

	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}

}
